package com.by.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("保存sku库存")
@TableName("sku_stock")
public class SkuStock {

    @TableId(value = "stock_id",type= IdType.AUTO)
    Integer stock_id;

    Integer sku_id;

    @ApiModelProperty("实际库存")
    Integer actual_stock;
    @ApiModelProperty("可销售库存")
    Integer stock;

}